package com.woniu.market_stall.mapper;

import com.woniu.market_stall.entity.ManagerDept;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ManagerDeptMapper {
    int deleteByPrimaryKey(Integer id);


    int insert(ManagerDept record);

    ManagerDept selectByPrimaryKey(Integer id);

    List<ManagerDept> selectAll();

    int updateByPrimaryKey(ManagerDept record);

    List<ManagerDept> selectDepartmentByName(String name);
}